package com.ssh.manager;

import java.util.List;

import com.ssh.common.util.Page;
import com.ssh.entity.SuperMarket;

public interface SuperMarketManager {

	public List<SuperMarket> superMarketList(Long companyId,long employeeId);
	
	public void findListByBrandIds(String[] brandIds, Page page);
	
	/**
	 * 根据系统ID分页查询门店信息，set进page实体内
	 * @param companyId
	 * @param page
	 * @param isDesc
	 */
	public void findSuperMarketsByCID(Long companyId, Page page, String isDesc);
	
	/**
	 * 取出某个系统下的所有门店
	 * @param companyId
	 * @return
	 */
	public List<SuperMarket> findMarketsByCIDAll(Long companyId);
	
	/**
	 * 添加门店
	 * @param superMarket
	 * @return
	 */
	public SuperMarket addSuperMarket(SuperMarket superMarket);
	
	/**
	 * 修改门店信息
	 * @param superMarket
	 * @return
	 */
	public SuperMarket updateSuperMarket(SuperMarket superMarket);
	
	/**
	 * 根据ID取出门店实体
	 * @param id
	 * @return
	 */
	public SuperMarket getSuperMarketById(Long id);
	
	public boolean delete(Long id);
	
	public void findListByBrand(Long brandId, Page page);
	
	/**
	 * 查询所以门店
	 * @return
	 */
	public List<SuperMarket> findAll();

}
